<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Insert title here</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<script src="Mask.js" type="text/javascript"></script>
 </head>
 <body><br /><center>
  <input type="button" value="Prompt" onclick="ShowPop('Prompt')" />
  <input type="button" value="AlertError" onclick="ShowPop('AlertError')" />
  <input type="button" value="AlertSuccess" onclick="ShowPop('AlertSuccess')" />
  <input type="button" value="Confirm" onclick="ShowPop('Confirm')" />
    <input type="button" value="Confirm22" onclick="ShowPop2('Confirm')" />
  </center>
  <div id="popupContainer"></div>
 </body>
</html>
<script type="text/javascript">
<!--
   mask = new Mask();   
  
   popups = new Popups("popupContainer");

   function ShowPop(showType)
   {
		popups.createPopup(showType,showType,CallBack).show();
   }

   function CallBack()
   {
		alert("回调方法！");
   }
   
   function ShowPop2(showType)
   {
		popups.createPopup(showType,"带确定提示对话框！",CallBack2).show();
   }

   function CallBack2()
   {
		alert("回调方法22！");
   }

//-->
</script>